<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://"
			+ request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ taglib prefix="sb" uri="/struts-bootstrap-tags" %>
<!DOCTYPE>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<style type="text/css"> 

#head { 
height: 45px; 
width: 100%; 
background-color: #222; 
} 
#nav1 ul{
list-style: none;
}
#nav1 ul li{
float: left;
padding-left: 10px;
}
#nav2 ul{ 
margin: 0 0 0 10px; 
padding-top:8px; 
font-size: 12px; 
color: #FFF; 
line-height: 30px; 
white-space: nowrap; 
} 
#nav2 li{ 
list-style-type: none; 
display: inline; 
} 
#nav2 li a { 
text-decoration: none; 
font-family: '微软雅黑';
font-size:12px; 
padding: 10px 20px; 
color: white; 
} 
#nav2 li a:hover { 
color: white; 
background-color: #111; 
} 
#nav2 li a:VISITED { 
color: white; 
background-color: #111; 
} 
</style> 
<sb:head/>
</head> 
<body> 
<div id="head"> 
<div style="height: 100%;width: 100px;float: left;"></div>
<div style="height: 100%;width: 550px;float: left;" id="nav1">
<ul> 
<li style="margin-left: 25px;"><a href="http://www.jb51.net/"><img alt="" width="100px;" height="40px;" src="<%=basePath %>image/gerenhead.png"></a></li> 
<li><a href="http://www.jb51.net/"><img alt="" width="100px;" height="40px" src="<%=basePath %>image/shouji.png"> </a></li> 
<li style="margin-top: 5px;" class="input-append"><span class="add-on">搜索</span><input class="span2" id="prependedInput" placeholder="搜索餐厅、美食....." style="width: 200px;height: 30px;border:#222 1px solid;"/> </li>
</ul> 
</div>
<div style="height: 100%;width: 690px;float: right;" id="">
<div style="height: 100%;width: 380px;float: left;" id="nav2">
<ul>
<li><a>我的饿单</a></li>
<li><a>礼品中心</a></li>
<li><a>附近团购</a></li>
<li><a>联系客服</a></li>
</ul>
</div>
<div style="height: 50%;width: 100px;color:white;float: left;margin-left: 50px;margin-top:10px;">
<span style=""><s:property value="#session.user.userName"/></span>&nbsp;&nbsp;<span><a href="<%=basePath %>user/user_logout" title="退出"><i class="icon-off icon-white"></i></a> </span>
</div>
 </div>

</div> 
</body> 
</html>